cellarea: Be very clear
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Mar 2020 04:50:35 +0000 (05:50 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 6 Mar 2020 04:50:35 +0000 (05:50 +0100)
The static analyzer needs to know we absolutely DO NOT want to use this
return value.

gtk/gtkcellarea.c

index e9b10bd3550a275e19ead39adc858f8774d256d8..157c3bc5ed6cad22c1a5c455d53fa8baa9dcacbe 100644 (file)
@@ -2950,7 +2950,9 @@ gtk_cell_area_add_focus_sibling (GtkCellArea     *area,
   siblings = g_hash_table_lookup (priv->focus_siblings, renderer);
 
   if (siblings)
-    siblings = g_list_append (siblings, sibling);
+    {
+      G_GNUC_UNUSED GList *unused = g_list_append (siblings, sibling);
+    }
   else
     {
       siblings = g_list_append (siblings, sibling);